part of respond;

extension Respond on HttpRequest {
  respond(dynamic reply) {
    Uint8List bytes = BSON().serialize(reply).byteList;
    response.add(bytes);
    response.close();
  }
}
